package com.kuaiyin.mapper;

import com.kuaiyin.entity.Environment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 全局变量表 Mapper 接口
 * </p>
 *
 * @author ng
 * @since 2025-04-27
 */
public interface EnvironmentMapper extends BaseMapper<Environment> {

    @Select("select var_name,var_value  from environment where environment_type = #{environmentType}")
    List<Environment> getEnvironmentName(String environmentType);

}
